package com.example.demo.service.impl;

import com.example.demo.mapper.ProductMapper;
import com.example.demo.pojo.vo.ProductListVO;
import com.example.demo.service.IProductService;
import com.example.demo.web.Token;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class IProductServiceImpl implements IProductService {

    @Autowired
    private ProductMapper productMapper;

    @Override
    public List<ProductListVO> list(){
        List<ProductListVO> list = productMapper.list();
        return list;
    }





}
